package cn.joeg.app.web;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "dew.css.widget")
public class CSSWidgetConfig {

    private int cacheTimeoutMinutes = 10;
    private String widgetPath = null;
    private String serverId;

    public String getWidgetPath() {
        return widgetPath;
    }

    public void setWidgetPath(String widgetPath) {
        this.widgetPath = widgetPath;
    }

    public int getCacheTimeoutMinutes() {
        return cacheTimeoutMinutes;
    }

    public void setCacheTimeoutMinutes(int cacheTimeoutMinutes) {
        this.cacheTimeoutMinutes = cacheTimeoutMinutes;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }
}
